package com.headline.todaynews.model;

import java.util.List;

/**
 * Created by liqingyi on 2016/12/30.
 */

public class TestData {

    public boolean result;
    public String code;
    public String message;
    public List<DataBean> data;

    @Override
    public String toString() {
        return "TestData{" +
                "code='" + code + '\'' +
                ", result=" + result +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }

    public static class DataBean {
        public CodeVersionBean codeVersion;
        public List<ImgBean> img;

        public List<List<BodyBean>> body;

        public List<NoticeBean> notice;

        @Override
        public String toString() {
            return "DataBean{" +
                    "body=" + body +
                    ", codeVersion=" + codeVersion +
                    ", img=" + img +
                    ", notice=" + notice +
                    '}';
        }

        public static class CodeVersionBean {
            public int versionId;
            public String version;

            @Override
            public String toString() {
                return "CodeVersionBean{" +
                        "version='" + version + '\'' +
                        ", versionId=" + versionId +
                        '}';
            }
        }

        public static class ImgBean {
            public int carouselId;
            public String carouselUrl;

            @Override
            public String toString() {
                return "ImgBean{" +
                        "carouselId=" + carouselId +
                        ", carouselUrl='" + carouselUrl + '\'' +
                        '}';
            }
        }

        public static class BodyBean {
            public int categoryId;
            public int isOptional;
            public int detectionId;
            public String detectionItem;
            public String detectionInfo;
            public String url;
            public int creator;
            public int sorting;
            public String categoryTitle;
            public String urlList;
            public String detailPictureUrl;
            public int isAttestation;
            public int isOpen;
            public int language;

            @Override
            public String toString() {
                return "BodyBean{" +
                        "categoryId=" + categoryId +
                        ", isOptional=" + isOptional +
                        ", detectionId=" + detectionId +
                        ", detectionItem='" + detectionItem + '\'' +
                        ", detectionInfo='" + detectionInfo + '\'' +
                        ", url='" + url + '\'' +
                        ", creator=" + creator +
                        ", sorting=" + sorting +
                        ", categoryTitle='" + categoryTitle + '\'' +
                        ", urlList='" + urlList + '\'' +
                        ", detailPictureUrl='" + detailPictureUrl + '\'' +
                        ", isAttestation=" + isAttestation +
                        ", isOpen=" + isOpen +
                        ", language=" + language +
                        '}';
            }
        }

        public static class NoticeBean {
            public int noticeId;
            public String noticeTitle;
            public String noticeDescription;
            public String picture;
            public String url;
            public int isRelease;
            public int creator;
            public String createDate;
            public int language;

            @Override
            public String toString() {
                return "NoticeBean{" +
                        "createDate='" + createDate + '\'' +
                        ", noticeId=" + noticeId +
                        ", noticeTitle='" + noticeTitle + '\'' +
                        ", noticeDescription='" + noticeDescription + '\'' +
                        ", picture='" + picture + '\'' +
                        ", url='" + url + '\'' +
                        ", isRelease=" + isRelease +
                        ", creator=" + creator +
                        ", language=" + language +
                        '}';
            }
        }
    }
}
